package xiangya.bysj.service.interf;

import java.util.List;



import xiangya.bysj.entity.Patient;

public interface PatientServiceInterface extends ServiceInterface<Patient> {

	public Patient findPatientById(int id) throws Exception;
	
	public List<Patient> findPatientsByUser(int userid) throws Exception;
	
	public void savePatients(List<Patient> patients) throws Exception;

	public void deletePatients(List<Integer> patients) throws Exception; 
	
	public List<Patient> findPatientByName(String name) throws Exception;

	
}
